package com.nf.service;

import com.nf.dao.JdbcDao;
import com.nf.entity.Jdbc;

import java.util.List;

public class JdbcServiceImpl {
    JdbcDao dao=new JdbcDao();
    public List<Jdbc> selectAll(){return dao.selectAll();}
    public void insert(Jdbc jdbc){dao.insert(jdbc);}
    public void delete(int id){dao.delete(id);}
    public Jdbc selectById(int id){return dao.selectById(id);}
    public void update(Jdbc jdbc){dao.update(jdbc);}
}
